package com.qf.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.blog.entity.PostPage;
import com.qf.blog.vo.PostVo;
import com.qf.blog.vo.SinglePostVo;


public interface IPostService extends IService<PostVo> {

    Boolean publish(PostVo post);

    PostPage queryPage(PostPage page);

    SinglePostVo queryById(Integer id);

    Boolean updateScore(Integer postId, Double score);
}
